import request from '@/utils/request'

export function listStandard(query) {
  return request({
    url: '/system/standardManager/list',
    method: 'get',
    params: query
  })
}
export function unChangelist(query) {
  return request({
    url: '/system/standardManager/unChangelist',
    method: 'get',
    params: query
  })
}


export function delStandard(compFeeIds) {
  return request({
    url: '/system/standardManager/' + compFeeIds,
    method: 'delete'
  })
}
export function standardAdd(data) {
  return request({
    url: '/system/standardManager',
    method: 'post',
    data: data
  })
}
export function updategStandard(data) {
  return request({
    url: '/system/standardManager',
    method: 'put',
    data: data
  })
}
export function standardInfo(query) {
  return request({
    url: '/system/standardManager/' + query,
    method: 'get',
    params: query
  })
}

// 标准宣贯
export function delStandardChange(compFeeIds) {
  return request({
    url: '/system/standardChange/' + compFeeIds,
    method: 'delete'
  })
}
export function standardChangeInfo(query) {
  return request({
    url: '/system/standardChange/' + query,
    method: 'get',
    // params: query
  })
}
export function standardChangeAdd(data) {
  return request({
    url: '/system/standardChange',
    method: 'post',
    data: data
  })
}
export function updategStandardChange(data) {
  return request({
    url: '/system/standardChange',
    method: 'put',
    data: data
  })
}
// 列表
export function standardChangeList(query) {
  return request({
    url: '/system/standardChange/list',
    method: 'get',
    params: query
  })
}